package com.xmy.cultivate.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xmy.cultivate.entity.StudentAtSchool;
import com.xmy.cultivate.mapper.StudentAtSchoolMapper;
import com.xmy.cultivate.service.IStudentAtSchoolService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 学生上学所在学校 服务实现类
 * </p>
 *
 * @author Coly
 * @since 2023-04-25
 */
@Service
public class StudentAtSchoolServiceImpl extends ServiceImpl<StudentAtSchoolMapper, StudentAtSchool> implements IStudentAtSchoolService {

    @Autowired
    StudentAtSchoolMapper studentAtSchoolMapper;

    public IPage<StudentAtSchool> allStudentScore(IPage<?> ipage , QueryWrapper wrapper){
        IPage<StudentAtSchool> studentAtSchoolIPage = studentAtSchoolMapper.allStudentScore(ipage,wrapper);
        return studentAtSchoolIPage;
    }
}
